package com.geekaca.d3;

import java.util.Scanner;

public class Score {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        while (true) {
            System.out.println("输入你的成绩, 等待惊喜");
            int score = scanner.nextInt();
            if (score > 0 && score < 80) {
                System.out.println("一顿毒打");
            } else if (score >= 80 && score < 85) {
                System.out.println("买一个变形金钢");
            } else if (score >=85 && score <= 90) {
                System.out.println("去游乐园");
            } else {
                System.out.println("买一个自行车");
            }
        }

    }
}
